Address Property (Recipient Object)
The Address
property specifies the full address for this recipient. Read/write.
Syntax
objRecipient.Address
Data Type
String
Remarks
Sets the
value of the Recipient object s Address property to specify a custom
address. The Recipient Address uses the following syntax:
TypeValue:AddressValue
where TypeValue
and AddressValue correspond to the values of the AddressEntry
The Recipient
object s Address property represents the full address, the complete
messaging address used by the MAPI system.
The OLE
Messaging Library sets the value of the Recipient object s Address
property for you when you supply the Name
The Address
property corresponds to the MAPI properties PR_ADDRTYPE and PR_EMAIL_ADDRESS.
Example
' from the sample function Util_CompareAddressParts
strMsg =
"Recipient full address = " & objOneRecip.Address
strMsg =
strMsg & "; AddressEntry type = " & objAddrEntry.Type
strMsg =
strMsg & "; AddressEntry address = " & objAddrEntry.Address
MsgBox
strMsg ' compare address components